package com.yunkeji.dao.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.yunkeji.common.annotation.Sensitive;
import com.yunkeji.common.enums.SensitiveStrategy;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 关注-粉丝视图对象 ykj_pay_log
 *
 * @author zhang
 * @date 2024-07-10
 */
@Data
@ExcelIgnoreUnannotated
public class PayLogVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    @ExcelProperty(value = "自增主键")
    private Long id;

    /** 用户ID */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /** 日志类型(充值,提现,语音收益) */
    @ExcelProperty(value = "日志类型(充值,提现,语音收益)")
    private Integer logType;

    /** 符号(+,-) */
    @ExcelProperty(value = "符号(+,-)")
    private String symbol;

    /** 余额类型(1金币,2钻石) */
    @ExcelProperty(value = "余额类型(1金币,2钻石)")
    private Integer balanceType;

    /** 备注 */
    @ExcelProperty(value = "备注")
    private String remark;

    /** 变更数量 */
    @ExcelProperty(value = "变更数量")
    private BigDecimal changeNum;

    /** 创建日期 */
    @ExcelProperty(value = "创建日期")
    private String logDate;

    /** 创建时间 */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /** 爱洞ID */
    private Long platformId;

    /** 用户昵称 */
    private String nickName;

    /** 头像 */
    private String headUrl;
    /** 手机 */
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String phone;
    /**
     * 钱包变化快照
     *
     * @author 老张
     */
    private String walletSnapBefore;

    /**
     * 钱包变化快照
     *
     * @author 老张
     */
    private String walletSnapAfter;

    /** 性别 **/
    private Integer sex;

    /** 业务id **/
    private Long traceId;
}
